FROM nacos/nacos-server:1.4.1
ENV MYSQL_SERVICE_HOST=192.168.100.130
ENV MYSQL_SERVICE_DB_NAME=nacos
ENV MYSQL_SERVICE_USER=nacos
ENV MYSQL_SERVICE_PASSWORD=nacos123123
EXPOSE 8848


## 启动命令

##docker run --restart=always --env MYSQL_SERVICE_HOST=192.168.100.130 --env MYSQL_SERVICE_DB_NAME=nacos --env MYSQL_SERVICE_USER=nacos --env MYSQL_SERVICE_PASSWORD=nacos123123 --name nacos -e MODE=standalone -p 8848:8848 -d nacos/nacos-server:1.4.1